import http from '@/api/http.js'
const jumpTo = function() {
	let params = {
		method: 'api/v2/jumps/get_jump_h5'		
	}
	http(params).then(res => {
		res.jumps.forEach(item=>{
			if(location.href==item.from){
				location.href=item.to
				return
			}				
		})
	})
	
}

export {
	jumpTo	
}
